<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/white/common/common.jsp" %>
<%@include file="/white/common/taglibs.jsp" %>
<html>
<head>
    <script type="text/javascript">
        function submitForm() {
            var searchForm = document.getElementById("searchForm");
            searchForm.submit();
        }

        function notAllowedLockSelf(id) {
            var searchForm = document.getElementById("searchForm");
            searchForm.action = "userAction-" + id + "!lock.action";
            searchForm.submit();
        }
    </script>
    <style>
        #ask-ico {
            position: relative;
            display: inline-block;
        }

        #ask-ico .ask-con {
            position: absolute;
            background: #666C6C;
            border: 1px solid #ccc;
            left: 100%;
            top: 0;
            width: 300px;
            height: 200px;
            padding: 10px;
            display: none;
            color: #fff;
            font-size: 13px;
            font-weight: bold;
            overflow: scroll;
            overflow-x: auto;
        }

        #ask-ico:hover .ask-con {
            display: block;
        }

        .margin-bottom {
            font-size: 13px;
            font-weight: bold;
        }

        .highlight {
            font-size: 13px;
            color: #5DDCE2;
            font-weight: bold;
        }
    </style>
</head>
<body>
<s:form method="post" action="nspFatallogHuaweiDaynumHotEntityAction!queryByPage.action" theme="simple"
        id="searchForm">
    <div id="div_title">
        <h3>
                ${classDisplayName}浏览: 华为热度查询
                    <a id="ask-ico"> <img
                            src="img/q.png"/>

                        <div class="ask-con">
                            <p class="margin-bottom">热度查询</p>

                            <p>
                                <span class="highlight">热度：</span>该号码每天被检索次数；
                            </p>

                            <p>
                                <span class="highlight">查有查无：</span>该号码在号百库中是否存在；
                            </p>
                        </div>
                    </a>
        </h3>

        <div id="div_search">
            <table>
                <tr>
                    <!-- 查询条件 -->
                    <td width="80" align="right">
                        查询日期:
                    </td>
                    <td>
                        <s:textfield size="8" maxlength="10" id="query_logDate"
                                     name="query_logDate" label="日期"
                                     onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyyMMdd', minDate:'1900-01-01',maxDate:''})">
                        </s:textfield>
                    </td>
                    <td width="80" align="right">
                        <authz:authorize ifAnyGranted="SMOOTH_ALL">
                            <s:submit cssClass="submit_search" value="搜索"
                                      action="nspFatallogHuaweiDaynumHotEntityAction!queryByPage"/>
                        </authz:authorize>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--列表 开始 -->
    <table cellpadding="0" cellspacing="0" class="t_list">
        <tr>
            <!--列表头部 -->
            <th style="border-left: #DC2913 1px solid;border-top: #DC2913 1px solid;">日期</th>
            <th style="border-top: #DC2913 1px solid;">号码</th>
            <th style="border-left: #DC2913 1px solid;border-top: #DC2913 1px solid;">热度</th>
            <th style="border-right: #DC2913 1px solid;border-top: #DC2913 1px solid;">查有查无</th>

        </tr>
        <s:iterator value="resultList" status="sindex">
            <tr>
                <td style="border-left: #DC2913 1px solid;"><s:property value="LOG_DATE"/></td>
                <td><s:property value="SUBJECT_NUM"/></td>
                <td style="border-left: #DC2913 1px solid;"><s:property value="HOT"/></td>
                <td style="border-right: #DC2913 1px solid;">
                    <s:if test='IS_VALUE == 1'>有</s:if>
                    <s:else>无</s:else>
                </td>
            </tr>
        </s:iterator>
    </table>
    <!--列表 结束 -->
    <!--分页 开始 -->
    <s:if test="resultList.size() > 0">
        <table border="0" cellspacing="0" cellpadding="0" class="t_bottom">
            <tr>
                <td>
                    <%@include file="/white/common/pageList.jsp" %>
                </td>
            </tr>
        </table>
    </s:if>
    <!--分页 结束 -->

</s:form>
</body>
</html>
